using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SmartApplication.Domain.Entity
{
    /// <summary>
    /// 深加工信息
    /// </summary>
    [Table("ProcessingModel")]
    public class ProcessingModel : BaseEntity
    {
        /// <summary>
        /// 溯源编号
        /// </summary>
        [Required]
        public long SourceId { get; set; }

        /// <summary>
        /// 班组
        /// </summary>
        [StringLength(100)]
        [Required]
        public string Team { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [StringLength(50)]
        [Required]
        public string ChargeName { get; set; }

        /// <summary>
        /// 食品安全图片
        /// </summary>
        [StringLength(500)]
        [Required]
        public long FoodSafetyId { get; set; }

        /// <summary>
        /// 加工公司编号
        /// </summary>
        [Required]
        public long CorporateId { get; set; }

    }
} 